package site.xuxingcan.Type;

/**
 * Created by xuxingcan on 16-7-15.
 */
public class MahjongType {
    private static final int BING = 0, WAN = 1, TIAO = 2;
    public int number;
    public int type;

    public MahjongType(int number, int type) {
        this.number = number;
        this.type = type;
    }

    public boolean isSame(MahjongType type) {
        return type.number == this.number && type.type == this.type;
    }
}
